package com.youth.hrsync.bean.xian;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author BaiKeyang
 * @since 2021-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("CHECKINOUT")
public class XianCheckinout extends Model<XianCheckinout> {

    private static final long serialVersionUID = 1L;

    @TableId("USERID")
    private Integer userid;

    @TableField("CHECKTIME")
    private Date checktime;

    @TableField("CHECKTYPE")
    private String checktype = "";

    @TableField("VERIFYCODE")
    private Integer verifycode = 0;

    @TableField("SENSORID")
    private String sensorid = "";

    @TableField("Memoinfo")
    private String Memoinfo = "";

    @TableField("WorkCode")
    private String WorkCode = "";

    private String sn = "";

    @TableField("UserExtFmt")
    private Integer UserExtFmt = 0;

    private Integer maskFlag = 0;

    private Float temperature = 0.0F;

    @Override
    protected Serializable pkVal() {
        return this.userid;
    }

}
